<template>
 <div class="">two</div>
</template>
<script setup>
    import {inject} from "vue";
    console.log(inject("shuaige"))//inject("接收的名字")
     console.log(inject("shuaige").name)
</script>